import request from '@/util/request.js'
/**
 * @description 首页个数
 * @param data
 * @returns {*}
 */
export function getCountApi(data) {
	return request({
		url: '/api/count/selectCount',
		method: 'GET',
		data
	})
}
/**
 * @description 获取openId
 * @param data
 * @returns {*}
 */
export function getOpenidApi(data) {
	return request({
		url: '/api/user/selectOpenid',
		method: 'GET',
		data
	})
}
/**
 * @description 首页数字
 * @param data
 * @returns {*}
 */
export function getRedCount(data) {
	return request({
		url: '/api/supervision/redCount',
		method: 'GET',
		data
	})
}
/**
 * @description 搜索列表
 * @param data
 * @returns {*}
 */
export function getSearchListApi(data) {
	return request({
		url: '/api/search/searchAll',
		method: 'GET',
		data
	})
}